package params

type ParamsPagination struct {
	Page  int `json:"page" form:"page" validate:"required" message:"required:页码未传"`
	Limit int `json:"limit" form:"limit" validate:"required" message:"required:分页数量未传"`
}

type ParamsMainKeyDelete struct {
	Id int64 `json:"id" form:"id" validate:"required" message:"required:缺少参数ID"`
}

type ParamsMainKey struct {
	Id int64 `json:"id" form:"id" validate:"required" message:"required:ID不能为空"`
}
